package com.ms.game.invitefriend.db;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.xpec.c4.db.model.log.basic.BasicLogModel;

@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
@Table(name = "subDistributor_modify_log")
public class SubDistribuorModifyLogModel extends BasicLogModel{

	private static final long serialVersionUID = -1394306539779806526L;
	
	/**
	 * 經銷商ID
	 */
	private String distributorGuid;

	/**
	 * 經銷商名稱
	 */
	private String distributorName;
	
	/**
	 * 子經銷商 ID
	 */
	private String subDistributorGuid;
	
	/**
	 * 子經銷商名稱
	 */
	private String subDistributorName;
	
	/**
	 * 子經銷商被分配的邀請碼數量
	 */
	private int inviteCodeNum;
	
	/**
	 * 每次下線升級，母經銷商可以從子經銷商抽的金額
	 */
	private int levelUpMoneyComm;
	
	/**
	 * 下線到達指定等級，母經銷商可以從子經銷商抽的金額
	 */
	private int designatedLeveMoneyComm;
	
	/**
	 * 可以修改的時間
	 */
	private Date modifyTime;
	
	/**
	 * 修改給子經銷商的邀請馬數量
	 */
	private int modifyInivteCodeNum;
	
	/**
	 * 修改每次下線升級，母經銷商可以從子經銷商抽的金額
	 */
	private int modifyLevelUpMoneyComm;
	
	/**
	 * 修改下線到達指定等級，母經銷商可以從子經銷商抽的金額
	 */
	private int modifyDesignatedLeveMoneyComm;
	
	private boolean isFirestSetting;

	public String getDistributorGuid() {
		return distributorGuid;
	}

	public void setDistributorGuid(String distributorGuid) {
		this.distributorGuid = distributorGuid;
	}

	public String getDistributorName() {
		return distributorName;
	}

	public void setDistributorName(String distributorName) {
		this.distributorName = distributorName;
	}

	public String getSubDistributorGuid() {
		return subDistributorGuid;
	}

	public void setSubDistributorGuid(String subDistributorGuid) {
		this.subDistributorGuid = subDistributorGuid;
	}

	public String getSubDistributorName() {
		return subDistributorName;
	}

	public void setSubDistributorName(String subDistributorName) {
		this.subDistributorName = subDistributorName;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public int getModifyInivteCodeNum() {
		return modifyInivteCodeNum;
	}

	public void setModifyInivteCodeNum(int modifyInivteCodeNum) {
		this.modifyInivteCodeNum = modifyInivteCodeNum;
	}

	public int getModifyLevelUpMoneyComm() {
		return modifyLevelUpMoneyComm;
	}

	public void setModifyLevelUpMoneyComm(int modifyLevelUpMoneyComm) {
		this.modifyLevelUpMoneyComm = modifyLevelUpMoneyComm;
	}

	public int getModifyDesignatedLeveMoneyComm() {
		return modifyDesignatedLeveMoneyComm;
	}

	public void setModifyDesignatedLeveMoneyComm(int modifyDesignatedLeveMoneyComm) {
		this.modifyDesignatedLeveMoneyComm = modifyDesignatedLeveMoneyComm;
	}

	public int getInviteCodeNum() {
		return inviteCodeNum;
	}

	public void setInviteCodeNum(int inviteCodeNum) {
		this.inviteCodeNum = inviteCodeNum;
	}

	public int getLevelUpMoneyComm() {
		return levelUpMoneyComm;
	}

	public void setLevelUpMoneyComm(int levelUpMoneyComm) {
		this.levelUpMoneyComm = levelUpMoneyComm;
	}

	public int getDesignatedLeveMoneyComm() {
		return designatedLeveMoneyComm;
	}

	public void setDesignatedLeveMoneyComm(int designatedLeveMoneyComm) {
		this.designatedLeveMoneyComm = designatedLeveMoneyComm;
	}

	public boolean isFirestSetting() {
		return isFirestSetting;
	}

	public void setFirestSetting(boolean isFirestSetting) {
		this.isFirestSetting = isFirestSetting;
	}
}
